home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / tex / tex31 / texsrc.lzh / TEXSRC.LZH / memory.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-26  |  644 b   |  42 lines

  1. /* memory.h: types that are too hard to translate automatically from
  2.    Pascal.  This file is included from the change file in the change for
  3.    section 8.113.  */
  4.  
  5. typedef union
  6. {
  7.   struct
  8.   {
  9.     halfword RH, LH;
  10.   } v;
  11.  
  12.   struct
  13.   {
  14.     halfword junk_space;    /* Make B0,B1 overlap LH.  */
  15.     quarterword B0, B1;
  16.   } u;
  17. } twohalves;
  18.  
  19.  
  20. /* TeX want to call the following fields `b0', etc.  */
  21. #define    b0    u.B0
  22. #define    b1    u.B1
  23. #define    b2    u.B2
  24. #define    b3    u.B3
  25.  
  26. typedef struct
  27. {
  28.   struct
  29.   {
  30.     quarterword B0, B1, B2, B3;
  31.   } u;
  32. } fourquarters;
  33.  
  34.  
  35. typedef union
  36. {
  37.   integer cint;
  38.   glueratio gr;
  39.   twohalves hh;
  40.   fourquarters qqqq;
  41. } memoryword;
  42.